package org.jspar.route;

import org.jspar.tile.ITilePredicate;
import org.jspar.tile.Tile;

public class FreeToRouteIn implements ITilePredicate {

	@Override
	public boolean test(Tile tile) {
		Arc a = tile != null ? (Arc) tile.content() : null;
		if (a != null && a.module() == null)
			return true;
		return false;
	}

}
